package org.zy.service.impl;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.zy.bean.tuser;

public class UserServiceTest2 {

	@Before
	public void setUp() throws Exception {
	}

	@Test
	public void test() {
		ApplicationContext cxt=new  ClassPathXmlApplicationContext(new String[]{"config/spring.xml","config/spring-mybatis.xml"});
//		UserService us=(UserService)cxt.getBean("userService");
//		tuser user= us.getUserInfo(1);
//		System.out.println(user.getName());
	}
	

}
